php find multiple strings in string

35

if(preg_match('(bad|naughty)', $data) === 1) { } 

Comments

Submit
0 Comments